/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:ViewAuthorUserPK
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.pk;

import com.yjhl.framework.domain.pk.PK;
import com.wx.demo.wcd.domain.po.ViewAuthorUserPO;

/**
 * primary key class for ViewAuthorUser view
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class ViewAuthorUserPK extends PK {
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 用户表标识
     */
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    public ViewAuthorUserPK(){
    	super();
    }
    public ViewAuthorUserPK(
    	String userId 
                                                                            ){
    	super();
    	
    	//
	    setUserId ( userId );	    		
    }
    
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isNull()
	 */
	@Override
    public boolean isNull(){
		return (		
	    userId == null 	    	
				);
	}
	
	/**
	 * @see com.yjhl.framework.domain.pk.PK#isEmpty()
	 */
	@Override
    public boolean isEmpty(){
		return (		
    	userId == null 
				);
	}
	
	
	/**
	 * @see com.yjhl.framework.domain.pk.PK#makePO()
	 */
	@Override
    public ViewAuthorUserPO makePO(){
    	ViewAuthorUserPO entityPO = new ViewAuthorUserPO();
    	
		entityPO.setUserId( userId );
    	
    	return entityPO;
	}
    
}
